package com.lipy.customizeconfigserver.refresh;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @description: 配置类
 * @author: lipy
 * @create: 2020-07-05 22:51
 **/
@ConfigurationProperties(prefix = "config.server.zookeeper")
public class ConfigServerProperties {
    private String address = "192.168.0.100";
    private Integer port = 2181;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }
}
